package com.ruoyi.agent.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_interface_price")
@ApiModel(value="SysInterfacePrice对象", description="")
public class SysInterfacePrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "代理商id")
    @NotNull(message = "代理商id不可为空")
    private Long agentId;

    @ApiModelProperty(value = "身份查询价格")
    @NotNull(message = "身份信息查询价格不可为空")
    private BigDecimal identityPrice;

    @ApiModelProperty(value = "信贷风险查询价格")
    @NotNull(message = "信贷风险查询价格不可为空")
    private BigDecimal creditPrice;

    @ApiModelProperty(value = "不良信息查询价格")
    @NotNull(message = "社会不良查询价格不可为空")
    private BigDecimal negativePrice;

    @ApiModelProperty(value = "个人工商查询价格")
    @NotNull(message = "个人工商查询价格不可为空")
    private BigDecimal commercialPrice;

    @ApiModelProperty(value = "学历查询价格")
    @NotNull(message = "学历查询价格不可为空")
    private BigDecimal educationPrice;

    @ApiModelProperty(value = "学位核实查询价格")
    @NotNull(message = "学位查询价格不可为空")
    private BigDecimal degreePrice;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
